<% layout('lanternlayout') -%><!--加载全局布局文件-->
<% block('head').append("<link rel='stylesheet' type='text/css' href='/images/activity/lantern/css/style.css' >") %>
<style>
    body{
        backgroud-color:#FFE79C
    }
</style>
<div  ng-controller="FromSong" >
<div id="songDiv">
    <img src="/images/activity/lantern/songbg.png" width="100%">
<div class="context">
    <img class="wxhead" src="<%=imgUrl%>">
    <br/><span style="color: #fff;"><%=nickname%></span>
    <div style="padding-left: 20px;padding-right: 20px;margin-bottom: 20px;">
        <div class="sm">赠送给你一个<%=reward_name%>,<br/>赶紧放进碗里去！</div>
    </div>

    <% if(!data.uid){%>
    <div style="padding-left: 20px;padding-right: 20px;margin-bottom: 20px;" >
        <div class="btn">
            <a ng-click="getFromFriend('<%=reward%>','<%=reward_name%>','<%=ownuid%>','<%=card_id%>')">
                <img src="/images/activity/lantern/fromsongbtn.png"  width="40%">
            </a>
            <div class="btn">
                <a href="/extra/lantern/index">
                    <img src="/images/activity/lantern/jlhdbtn1.png"  width="40%">
                </a>
            </div>
        </div>
    </div>
    <%}else{%>
    <div style="padding-left: 20px;padding-right: 20px;margin-bottom: 20px;" >
        <div class="sm2">
            已被领取过！
            <div class="btn">
                <a href="/extra/lantern/index">
                    <img src="/images/activity/lantern/jlhdbtn1.png"  width="40%">
                </a>
            </div>
        </div>
    </div>
    <%}%>

</div>
</div>
</div>
<table class="table2">
    <tr  valign="top">
        <td width="50%" >
            <a href="http://wxshop.guoran100.com/detail/903"><img style="width: 100%" src="/images/activity/lantern/hnqx2.png"></a>
        </td>
        <td width="50%">
            <a href="http://wxshop.guoran100.com/detail/902"><img style="width: 100%" src="/images/activity/lantern/hnpl2.png"></a>
        </td>
    </tr>
</table>
<img src="/images/activity/lantern/yaogz1.png" width="100%">
<img src="/images/activity/lantern/yaogz2.png" width="100%">
<% block('footer').append('<script src="'+CDN+'/extra/lantern/index.js"></script>') %>
<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan style='display:none;' id='cnzz_stat_icon_1257556523'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s11.cnzz.com/stat.php%3Fid%3D1257556523' type='text/javascript'%3E%3C/script%3E"));</script>